
/*
 * Copyright (C) 2008-2009 Archie L. Cobbs. All rights reserved.
 *
 * $Id: CodeEmitter.java 203 2009-11-16 17:53:16Z archie.cobbs $
 */

package org.dellroad.sidekar.classgen;

import org.dellroad.sidekar.asm.MethodVisitor;

/**
 * Callback for emitting code via a {@link MethodVisitor}.
 */
interface CodeEmitter {

    /**
     * Output some method bytecode or whatever.
     */
    void write(MethodVisitor mv);
}

